Fix font lock regex for user defined constant in PHP
authorVincenzo Pupillo <v.pupillo@gmail.com>
Sun, 16 Jun 2024 14:32:53 +0000 (16:32 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sat, 22 Jun 2024 08:48:50 +0000 (11:48 +0300)
commita4fe4ca93cfdc835ecd8c5dcc98c201a1eefb546
treec2485aeb54d20ad41c8140dbe7b2afc320c446b2
parente1ba4ebb495199d1723bd9c4a1f687a02207ee23
Fix font lock regex for user defined constant in PHP

The old regex also captured functions with two or more
uppercase characters.  This new regex fixes that issue.
* lisp/progmodes/php-ts-mode.el (php-ts-mode--font-lock-settings):
New regex that match only user-defined constants.  (Bug#71593)
lisp/progmodes/php-ts-mode.el